package com.ruoyi.video.server.push;


import java.lang.annotation.*;

/**
 * 云集群数据注解
 * 
 * @author zhian
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface PushData
{
    public static final String ACTION_ADD = "add";
    public static final String ACTION_UPDATE = "update";
    public static final String ACTION_DELETE = "delete";

    /**
     * 数据名称
     */
    public String name();

    /**
     * 操作类型
     * @return
     */
    public String action() default "add";
}
